class SoundManager {
	//移动的声音
	private move_sound:egret.Sound;

	//音轨
	private soundChannel:egret.SoundChannel;

	private static shared:SoundManager;
	public static getInstance(){
		if(!SoundManager.shared){
			SoundManager.shared = new SoundManager();
		}
		return SoundManager.shared;
	}

	public constructor() {
		this.move_sound = new egret.Sound();
		this.move_sound.load("resource/assets/data/sound/move.mp3");
	}
	// 播放移动的声音
	public playMove(){
		if(this.move_sound){
			this.move_sound.play(0,1);
		}
	}
}